﻿<UserControl x:Class="DocumentListModule.Views.DocumentListView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    MinHeight="300">
    <Grid>
        <DataGrid AutoGenerateColumns="False" Name="booksDataGrid"  SelectionChanged="booksDataGrid_SelectionChanged"
                AlternatingRowBackground="AliceBlue" AlternationCount="1" RowHeight="25">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Title" SortDirection="Ascending" Binding="{Binding Title}" />
                <DataGridTextColumn Header="Comment" Binding="{Binding Comment}" />
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</UserControl>
